/**
 * 
 */
package cre.gutwo.service;

import java.util.List;

import cre.gutwo.domain.CompanyCode;
import cre.gutwo.domain.DeviceInfo;

/**
 * @author Cre.Gu
 *
 */
public interface RuleService {

	public void impCompanyCode(List<CompanyCode> list);

	public void impDeviceInfo(List<DeviceInfo> list);

	public void deleteAllCompanyCode();

	public void deleteAllDeviceInfo();

	public String changeValDi(String name, String spec);

	public String changeValCc(String lid, String spec);

	public void initAll();

	public DeviceInfo findByDeviceName(String deviceName);

	public CompanyCode findCcByName(String name);

	public List<DeviceInfo> findDis();

	public List<CompanyCode> findCcs();

	public void initDeviceInfo(String file);

	public void initCompanyCode(String file);

	public boolean deviceInfoEmpty();

	public boolean companyCodeEmpty();
}
